<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />
<title>{$page_title}</title>
<style>
body {
background:none repeat scroll 0 0 #FFFFFF;
color:#787878;
}

body, button, input, select, textarea, th {
font:12px/1.5 Tahoma,"hiragino sans gb",Helvetica,Arial;
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, fieldset, lengend, button, input, textarea, th, td {
margin:0;
padding:0;
}
h1, h2, h3, h4, h5, h6 {
font-size:100%;
}
a {
color:#056EA1;
}

a {
text-decoration:none;
}
img {
display:block;
}

fieldset, img {
border:medium none;
}
ul, ol, li {
list-style:none outside none;
}
.clearfix {
}
.clearfix:after {
clear:both;
content:".";
display:block;
font-size:0;
height:0;
line-height:0;
visibility:hidden;
width:0;
}
</style>

</head> 
<body> 

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='top2'  iconname='top2' />
<!-- 顶部结束 alltop.html -->



<div class="clearfix" style="margin:0 auto;width:960px;">

	<div  style="width:220px;float:left;margin:0 10px;overflow:hidden;">

<!-- 顶部开始 alltop.html -->
<phpscup:icon   htmlname='icon_l10'  iconname='icon_l10' />
<!-- 顶部结束 alltop.html -->

    </div>
	<div  style="width:600px;float:left;margin:0 10px;overflow:hidden;">

        <div style=" height:20px;"></div>

<style>
.mod_toolbar {
height:40px;
overflow:hidden;
}
.mod_sub_tab .current {
background:none repeat scroll 0 0 #056EA1;
color:#FFFFFF;
cursor:default;
font-weight:bold;
padding:0 10px;
}

.mod_sub_tab a {
display:inline-block;
}
.mod_sub_tab a {
display:inline-block;
padding:0 6px;
}
</style>
		
		<div class="mod_toolbar">
			<p class="mod_sub_tab ">
			
			<a href="?app=company&act=nav">导航列表</a>
			 | <a class="current" href="?app=company&act=navadd">添加导航</a>
			
			
			</p>

		</div>


<form action="?app=company&act=navadd&action=addpost" method="post">

                                   <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="table_style">
                                   
                                   
                                   
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

	                                      <td width="30%">链接文字:</td>
	                                      <td><input type="text" name="data[title]" value="" maxlength="30" /></td>
                                   </tr>
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>链接提示文字(选填):</td>
	                                      <td><input type="text" name="data[config][alt]" value="" maxlength="50" /></td>
                                   </tr>
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>链接地址(如果是绝对地址，请以 http:// 或 https:// 开头):</td>

	                                      <td>
                                          <input type="text" name="data[url]" size="50"  maxlength="80"  value="" id="keyword_m" />
    	                                 <select name="select4" onChange="MM_keyword2(this,'keyword_m')" > 
										 <option  value="">请选择...</option> 
                                         <option  value="{SITE_URL}/company/?app=default&companyid={$companyid}">|--主页</option> 
                                         <option  value="{SITE_URL}/company/?app=prot&act=index&companyid={$companyid}">|--产品主页</option>
                                         <!--{foreach($categorydata_prot as $_key => $_value )}-->  
		                                 <!--{if ($_value.cat_name)}--> 
                                         <option  value="{SITE_URL}/company/?app=prot&act=index&cat={$_value.cat_id}&companyid={$companyid}" style="color:red;">|--|--{$_value.str_pad}{$_value.cat_name}</option>
                                         <!--{/if}--> 
		                                 <!--{/foreach}-->    
                                         <option  value="{SITE_URL}/company/?app=new&act=index&companyid={$companyid}">|--新闻主页</option>
                                         <!--{foreach($categorydata_new as $_key => $_value )}-->  
		                                 <!--{if ($_value.cat_name)}--> 
                                         <option  value="{SITE_URL}/company/?app=new&act=index&cat={$_value.cat_id}&companyid={$companyid}" style="color:red;">|--|--{$_value.str_pad}{$_value.cat_name}</option>
                                         <!--{/if}--> 
		                                 <!--{/foreach}-->                                          
                                          
                                         <option  value="{SITE_URL}/company/?app=job&act=index&companyid={$companyid}">|--招聘主页</option> 
                                         <option  value="{SITE_URL}/company/?app=login&act=index&companyid={$companyid}">|--登入页</option> 
                                         <option  value="{SITE_URL}/company/?app=login&act=reg&companyid={$companyid}">|--注册页</option> 
                                         <option  value="{SITE_URL}/company/?app=order&act=index&companyid={$companyid}">|--网上订单</option> 
                                         <option  value="{SITE_URL}/company/?app=leaveword&act=index&companyid={$companyid}">|--在线留言</option>                                      
                                         <optgroup label='|--单独页面'></optgroup>
                                         <!--{foreach($lw_data as $_key => $_value )}-->
                                         <option  value="{SITE_URL}/company/{$_value.filepath}" style="color:red;">|--|--{$_value.name}</option>                                           
                                          <!--{/foreach}--> 
	                                     </select>	                                      
                                          
  <SCRIPT LANGUAGE="JavaScript">
<!--

function get_obj(obj){
   return document.getElementById(obj);
}

function MM_keyword2(selObj,str){ //v3.0
  va=selObj.options[selObj.selectedIndex].value
  if (va!='')
  {

		get_obj(str).value=va;

  } 
}

//-->
</script>                                         
                                          </td>
                                  </tr>
                                  <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>链接打开目标(默认为当前浏览窗口):</td>
	                                      <td>
	                                      <select name="data[config][target]">
		                                       <option selected value="_self">_self</option>
		                                       <option value="_blank">_blank</option>
		                                       <option value="_parent">_parent</option>
		                                       <option value="_top">_top</option>
	                                     </select>
	                                     </td>
                                 </tr>
                                 <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                     <td>导航位置(系统的顶部或底部):</td>
	                                     <td><input type="radio" name="data[position]" value="top" id="top"  checked /><label for="top">顶部</label>&nbsp;<input type="radio" name="data[position]" value="bottom" id="bottom" /><label for="bottom">底部</label></td>

                                </tr>
                                <tr >
	                                     <td>&nbsp;</td>
	                                     <td><input type="hidden" name="data[company_id]" value="{$companyid}"  /><input type="submit" class="buton" value=" 提 交 " /></td>
                                </tr>
                                </table>
                                </form>

	</div>

</div>



<!-- 顶部开始 footer.html -->
<phpscup:icon   htmlname='footer1'  iconname='footer' />
<!-- 顶部结束 footer.html -->


</body>
</html>
